.PHONY:all
all:tcpserver tcpclient

LDFLAG=#-DSelfDefine=1

tcpclient:TcpClientMain.cc
	g++ -o $@ $^ $(LDFLAG) -std=c++14 -ljsoncpp
tcpserver:TcpServerMain.cc
	g++ -o $@ $^ $(LDFLAG) -std=c++14 -lpthread -ljsoncpp
.PHONY:clean 
clean:
	rm tcpclient tcpserver